package com.eusoft.demo.service.impl;

import com.eusoft.demo.entity.CarType;
import com.eusoft.demo.mapper.CarTypeMapper;
import com.eusoft.demo.service.ICarTypeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 车辆类型 服务实现类
 * </p>
 *
 * @author DevMing
 * @since 2021-08-19
 */
@Service
public class CarTypeServiceImpl extends ServiceImpl<CarTypeMapper, CarType> implements ICarTypeService {

    /**
     * 返回车辆类型列表
     *
     * @return
     */
    @Override
    public List<CarType> getCarTypeList() {
        return baseMapper.<CarType>queryList();
    }
}
